﻿using System;
using System.ComponentModel;

namespace Model
{
    /// <summary>
    /// 图书
    /// </summary>
    public class Books : BaseModel
    {
        /// <summary>
        /// 图书编号
        /// </summary>
        [DisplayName("图书编号")]
        public string BookID { get; set; }

        /// <summary>
        /// 图书名称
        /// </summary>
        [DisplayName("图书名称")]
        public string BookName { get; set; }

        /// <summary>
        /// 作者
        /// </summary>
        [DisplayName("作者")]
        public string Author { get; set; }

        /// <summary>
        /// 出版社
        /// </summary>
        [DisplayName("出版社")]
        public string Publishing { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [DisplayName("数量")]
        public int Num { get; set; }

        /// <summary>
        /// 图书单价
        /// </summary>
        [DisplayName("图书单价")]
        public decimal Price { get; set; }

        /// <summary>
        /// 图书类别
        /// </summary>
        [DisplayName("图书类别")]
        public string BookType { get; set; }


        /// <summary>
        /// 入库时间
        /// </summary>
        [DisplayName("入库时间")]
        public DateTime StockTime { get; set; }

        /// <summary>
        /// 简短介绍
        /// </summary>
        [DisplayName("简短介绍")]
        public string Remake { get; set; }
    }
}
